//
//  NSString+DateStamp.m
//  GIFShow
//
//  Created by lanou11air029 on 15/3/31.
//  Copyright (c) 2015年 CK. All rights reserved.
//

#import "NSString+DateStamp.h"


@implementation NSString (DateStamp)
static id aStamp = nil;
+(NSDate *)inputTimestampOutputDate:(NSString *)stamp{
    aStamp = stamp;
    [self stampDescription];
    return  nil;
}
+(void)stampDescription{
    NSLog(@"%@",aStamp);
    NSString * stampStr = aStamp;
    NSLog(@"%f",stampStr.floatValue);
    NSLog(@"%f",NSTimeIntervalSince1970);
    NSLog(@"%@",[NSDate dateWithTimeIntervalSince1970:stampStr.floatValue]);
}
@end
